﻿<Window x:Class="Xpom_Xpum__Integrated_Development_Environment.View.NewItemWindowView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:res="clr-namespace:Xpom_Xpum__Integrated_Development_Environment.Resource"
        Title="New item type selection" Height="344" Width="479" Closing="Window_Closing" ShowInTaskbar="False" ResizeMode="NoResize" Loaded="Window_Loaded">
    <Grid>
        <Label Content="Item types:" Height="26" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" Margin="0,7,0,0" />
        <ListView Height="173" HorizontalAlignment="Left" Margin="0,39,0,0" Name="listView1" ScrollViewer.HorizontalScrollBarVisibility="Disabled" VerticalAlignment="Top" Width="473" ItemsSource="{Binding ItemTemplates}" SelectedItem="{Binding SelectedItem}">
            <ListView.ItemsPanel>
                <ItemsPanelTemplate>
                    <WrapPanel Orientation="Vertical" />
                </ItemsPanelTemplate>
            </ListView.ItemsPanel>
            <ListView.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal" Height="22">
                        <Image Source="{Binding ItemTemplateIcon}" />
                        <TextBlock Text="{Binding ItemTemplateName}" TextWrapping="Wrap" Height="Auto" VerticalAlignment="Center"/>
                    </StackPanel>
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>
        <Button Content="{x:Static res:Resource.OkButtonText}" Height="23" HorizontalAlignment="Left" Margin="294,273,0,0" Name="button3" VerticalAlignment="Top" Width="75" Click="button3_Click" />
        <Button Content="{x:Static res:Resource.CancelButtonText}" Height="23" HorizontalAlignment="Left" Margin="375,273,0,0" Name="button2" VerticalAlignment="Top" Width="75" Click="button2_Click" />
        <Label Content="Item Name:" Height="28" HorizontalAlignment="Left" Margin="12,228,0,0" Name="label2" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="89,230,0,0" Name="textBox1" VerticalAlignment="Top" Width="361" />
    </Grid>
</Window>
